package syntaxtree;
import symbol.ClassTable;
import visitor.TableSymbolVisitor;
import visitor.TypeCheckVisitor;
import visitor.Visitor;
import visitor.TypeVisitor;

public class ClassDeclExtends extends ClassDecl {
  public Identifier i;
  public Identifier j;
  public VarDeclList vl;  
  public MethodDeclList ml;
 
  public ClassDeclExtends(Identifier ai, Identifier aj, 
                  VarDeclList avl, MethodDeclList aml) {
    i=ai; j=aj; vl=avl; ml=aml;
  }

  public void accept(Visitor v) {
    v.visit(this);
  }

  public Type accept(TypeVisitor v) {
    return v.visit(this);
  }

	@Override
	public ClassTable accept(TableSymbolVisitor v) {
		// TODO Auto-generated method stub
		return (ClassTable) v.visit(this);
	}

	@Override
	public void accept(TypeCheckVisitor v) {
		v.visit(this);
	}
}

